package edu.sctu.nieyu.day20150506.studentmessage;

/**
 * Created by user01 on 2015/5/6.
 */
public class StudentTwo extends Student {

    @Override
    public void setName() {
        name = "Bob";
    }

    @Override
    public void setCard() {
        card = 2;
    }

    @Override
    public void setSex() {
        sex = "man";
    }
    public void getInfo(Interface interf){interf.setInfomation(name,card,sex);}
}
